package com.example.mskefu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.mskefu.entity.Message;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.ArrayList;

@Mapper
public interface MessageMapper extends BaseMapper<Message> {

    @Select("select * from chat where fszId=#{param1} and jszId=#{param2} and shopId=#{param3}")
    ArrayList<Message> getMessageByChatId(String fszId, String jszId,String shopId);


}
